import Vue from 'vue'
import Router from 'vue-router';
//首页
const Home           = () => import('$components/home/Index');
//卡分期--pc
const KfqPc           = () => import('$components/home/KfqPc');
//永久二维码
const Forever           = () => import('$components/home/Forever');
//三好网
const SanHao           = () => import('$components/home/SanHao');
//学霸君
const XueBa           = () => import('$components/home/XueBa');

Vue.use(Router)

let router =  new Router({
  mode: 'history',
  base : '/qrcode-demo',
  routes: [

    {path: '/',name: '菜单列表',component: Home,meta:{title:'菜单列表'}},
    {path: '/kfqPc',name: '卡分期',component: KfqPc,meta:{title:'卡分期'}},
    {path: '/forever',name: '加推永久二维码',component: Forever,meta:{title:'加推永久二维码'}},
    {path: '/sanHao',name: '三好网',component: SanHao,meta:{title:'三好网'}},
    {path: '/xueba',name: '学霸君',component: XueBa,meta:{title:'学霸君'}}
  ]
});



export {router};



